package com.example.eurekaclientprovider;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * </p>
 *
 * @author Zero
 * @since 2019/3/5
 */
@RestController
public class ExampleController {

    @RequestMapping(value = "/hello", method = RequestMethod.GET)
    public String hello(@RequestParam String name) {
        return "嗨，" + name + "，我是来自eureka-client-provider的消息！";
    }

}
